package org.example.lotterysystem.service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-04-07  16:45
 */
public interface VerificationCodeService {
    /**
     * 生成验证码
     * @param phoneNumber
     */
    void sendVerificationCode(String phoneNumber);

    /**
     * 从缓冲中获取验证码
     * @param phoneNumber
     * @return
     */
    String getVerificationCode(String phoneNumber);
}
